-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Assert-RequiredCommandParameter
and Test-AccountRequirePassword
#94
Conversation
See if |
Codecov Report
@@ Coverage Diff @@
## main #94 +/- ##
==================================
Coverage 91% 91%
==================================
Files 29 31 +2
Lines 548 568 +20
==================================
+ Hits 499 519 +20
Misses 49 49
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 9 files at r1, 8 of 11 files at r3, 1 of 1 files at r4, all commit messages.
Reviewable status: 10 of 12 files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 11 files at r3.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @johlju)
Pull Request (PR) description
Assert-RequiredCommandParameter
that throws anexception if a specified parameter is not assigned a value, and optionally
throws only if a specific parameter is passed. - Issue #92
Test-AccountRequirePassword
that returns true orfalse whether an account need a password to be passed - Issue #93
Assert-BoundParameter
Assert-RequiredCommandParameter
which will throw an exception if a specified parameter is not assigned
a value, and optionally throws only if a specific parameter is passed.
Assert-ElevatedUser
andTest-IsNumericType
sothe public function is tested correctly using the exported function.
This Pull Request (PR) fixes the following issues
Task list
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
DSC Community Testing Guidelines.
This change is